package com.logisticsrepair.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.logisticsrepair.entity.RolePermissionEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author huahua
* @description 针对表【role_permission(角色权限关联表)】的数据库操作Mapper
* @createDate 2022-05-14 15:34:59
* @Entity com.logisticsrepair.entity.RolePermissionEntity
*/
public interface RolePermissionMapper extends BaseMapper<RolePermissionEntity> {

    /**
     * 查询角色权限关联信息
     * @param roleId 角色ID
     * @return List<RolePermissionEntity>
     */
    List<RolePermissionEntity> queryAllByRoleId(@Param("roleId") String roleId);
}




